package com.zkyc.framework.common.pojo;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * (RoleRefRight)实体类
 *
 * @author libingchuan
 * @since 2022-05-25 16:30:49
 */
@TableName("system_role_ref_right")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RoleRefRight implements Serializable {
    private static final long serialVersionUID = 872321207097977988L;
    /**
     * 角色权限关联id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     * 权限id
     */
    private Integer rightId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date gmtCreated;


}

